package com.bloveoacom.util;

import android.view.ViewConfiguration;

/**
 * Created by yujunlong on 2017/4/18.
 */

public class Constant {
    public static final String ISLOGIN = "islogin";//判断是否登录
    public static final String ISFIRSTOPEN = "isFirstOpen";// 是否第一次打开app
    public static final String USERID = "userId";
    public static final String TOKEN = "token";
    public static final String PHONE = "phone";
    public static final String USERTYPE = "userType";
    public static final String TYPE_CX = "type";
    public static final String NICKNAME = "nickName";
    public static final String HEADIMG = "headImg";
    public static final String FIRSTOPEN = "firstOpen";
    public static final String PRIVATEKEY = "privateKey";
    public static final String PUBILCKEY = "pubilcKey";
    public static final String WALLETACCOUNT = "walletAccount";
    public static final String ISSIGN = "isSign";
    public static final String INVITATIONCODE = "invitationCode";
    public static final String SIGNATURE = "signature";
    public static final String BALANCENUM = "balanceNum";
    public static final String KG = "&#160;";


    public static final String POSITION = "position";
    public static final String AREACODE = "areacode";
    public static final String JOBNUMBER = "jobNumber";
    public static final String PNAME = "pname";

    public static final String CITYNAME = "北京市";
    public static  double HL = 6.7;
    public static final String RMB_FH = "¥";

    public static final long GETCODETIME = 60 * 1000;


    public static final String DATA = "data";
    public static final String DATA2 = "data2";
    public static final String DATA3 = "data3";



    public static final String DATA0 = "dat0";
    public static final String DATA1 = "data1";
    public static final String DATA4 = "data4";
    public static final String DATA5 = "data5";


    public static final String TYPE = "type";
    public static final int IS_HUOBI = 0;
    public static final int IS_GUANFANG_ID = 12;
    public static final String LIST = "LIST";
    public static final String LISTTWO = "LISTTWO";

    public static final String addPhoto = "0x11@type_add";
    public static final int REQUEST_CODE_IMAGE = 100;
    public static final int REQUEST_CODE_LOCAL = 200;
    public static final int REQUEST_CODE_SELECT_FILE = 300;
    public static final int REQUEST_CODE_CAMERA = 400;
    public static final int PHOTORESOULT = 500;


    public static final int WRITE_EXTERNAL_PIC = 100;
    public static final int LOCATION_PER = 101;
    public static final int WRITE_EXTERNAL= 200;



    public static int MAX_TIME = 60; // 最长录制时间，单位秒，0为无时间限制
    public static int MIX_TIME = 1; // 最短录制时间，单位秒，0为无时间限制，建议设为1

    public static int RECORD_NO = 0; // 不在录音
    public static int RECORD_ING = 1; // 正在录音
    public static int RECODE_ED = 2; // 完成录音

    public static int RECODE_STATE = 0; // 录音的状态



    public static String URL_DATA = "";

    public static final String IMG_MEDIATYPE = "image/png";
    public static final String MULTIPART_FORM_DATA = "multipart/form-data";
    public static final String TEXT_FROMDATA = "text/plain";

    public static final int PAGE_SIZE = 10;
    public static final String NOT_DATA = "初心客厅欢迎你";

    public static final int CHAT_AUDIO = 1;
    public static final int CHAT_VIDEO = 2;
    public static final int CHAT_TEXT = 0;

    public static final String STARTTIME = "starttime";
    public static final String ENDTIME = "endtime";
    public static final String URI = "uri";
    public static final String NAME = "name";
    public static final String CONSULTID = "consultid";

    public static String RONGIMCONNECTSTATUS = "";
    public static String MONEY_SIGN = "€";


    public static final int START_PAGE = 1;



    public static final String DEFAULTAVATARURL = "http://47.94.40.37:8080/api/file/ic_defult_avatar.png";



    public static final int millisInFuture = 60000;
    public static final int countDownInterval = 1000;
    public static final long ZOOM_CONTROLS_TIMEOUT = ViewConfiguration.getZoomControlsTimeout();

    public static final String REFRESHORDER = "refresh_order";
    public static final String REFRESH_USERINFO = "REFRESH_USERINFO";

    public static final String PARAMS_TAG = "coin_type";
    public static final String HUOBI_URL = "wss://api.huobi.br.com/ws";
    public static final String HB_KLINE = "market.%1$s.kline.%2$s";
    public static final String HB_MARKETDEPTH = "market.%1$s.depth.%2$s";
    public static final String HB_TRADEDETAIL = "market.%1$s.trade.detail";
    public static final String HB_MARKETDETAI = "market.%1$s.detail";
    public static final String HB_SUB = "sub";
    public static final String HB_UNSUB = "unsub";
    public static final String HB_REQ = "req";
    public static final String TU_KEY_ONE = "tokenu_keyone";


    public static final int ACTIVITY_STATUS_WEIKAISHI=0;
    public static final int ACTIVITY_STATUS_JINXINZHONG=1;
    public static final int ACTIVITY_STATUS_YIJIESHU=2;
    public static final String INTENT_ACTIVITYID="activityId";

}
